# -*- coding: utf-8 -*-
# @Author : HaleShi
# @Time : 2023-06-07
# @File : 青果隧道代理.py

import requests
targetURL = "https://www.bilibili.com/video/BV1BY41127Eo"
proxyAddr = "tunnel6.qg.net:19030"
authKey = "B9A74FF0"
password = "A1ECCCC9CDA1"
# 账密模式
proxyUrl = "http://%(user)s:%(password)s@%(server)s" % {
    "user": authKey,
    "password": password,
    "server": proxyAddr,
}
proxies = {
    "http": proxyUrl,
    "https": proxyUrl,
}
resp = requests.get(targetURL, proxies=proxies)
print(proxies)
print(resp.text)
